/**
 * 
 */
Rsd.define('Rsd.hermit.pages.AboutPage', {
    extend: 'Rsd.hermit.pages.ShopMaster',
    requires: [ 
        'Rsd.hermit.sections.CollectionPart',
        'Rsd.hermit.sections.AdsViewPart',
        'Rsd.hermit.sections.TeamMembersPart',
        'Rsd.hermit.sections.ClientSaysPart',
        'Rsd.hermit.sections.ClientCasesPart'
    ],
    xtype:'about-page',  
    title:'About Us',
    banner:[
        {
            xtype:'ads-view',
            height:'100%',
            width:'100%',
            style:{
                color:'#fff'
            },
            dataSource:{
                text:'About Us',
                image: 'https://img1.baidu.com/it/u=4095587181,1542876091&fm=253&app=138&f=JPEG',
            }
            
        }],
    content:[
        {
            xtype: 'ads-view',
            height:600,
            width:'100%',
            style:{color:'#000'},
            dataSource:{
                text:'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore etlop.'
            }
        },
        {
            xtype: 'team-members',
            height:400,
            style:{textAlign:'center'},
            dataSource:[
                {
                    height:300,
                    dataSource:{
                        src:'http://gips3.baidu.com/it/u=3886271102,3123389489&fm=3028&app=3028&f=JPEG&fmt=auto?w=1280&h=960',
                        title:'Du yi',
                        text:'CEO'
                    }
                },
                {},
                {},
                {}
            ]
        },
        {
            xtype: 'client-says',
            label:{
                content:'What Client Says',
                style:{
                    fontSize:'200%',
                    fontWeight:600
                }
            },
            height:350,
            dataSource:[
                {},
                {},
                {},
                {}
            ]
        },
        {
            xtype: 'client-cases',
            height:350,
            dataSource:[
                {
                    height:260,
                    dataSource:{src:'http://www.redmicro.cn/assets/img/brand-logos/shemoy.png'}
                },
                {
                      height:260,
                      dataSource:{src:'http://www.redmicro.cn/assets/img/logo-header.png'}
                },
                {
                      height:260,
                },
                {
                      height:260,
                }
            ]
        },
        {
            xtype: 'collection',
            height:400,
            itemXtype: 'ads-view',
            column:2,
            dataSource:[{},{}]
        },
    ],
    /**
     * 
     * @param {*} config 
     */ 
    constructor: function AboutUsPage(config) {
        config = config || {};
        Rsd.apply(this, config);
    },
    /**
     * 
     */
    load:function load() { 
        console.log('about page load ...');
        this.callParent();  
        return this;
    }
});